package com.it.schoolbookshop_back.entities.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户设置实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserSettings implements Serializable {
    /**
     * 主键ID
     */
    private Integer id;
    
    /**
     * 用户ID
     */
    private Integer userId;
    
    /**
     * 是否接收用户消息通知
     */
    private Boolean notificationMessages = true;
    
    /**
     * 是否接收收藏通知
     */
    private Boolean notificationFavorites = true;
    
    /**
     * 是否接收交易通知
     */
    private Boolean notificationTransactions = true;
    
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
    
    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;
} 